
//base url
#define URL_ISUSO_WEB @"http://www.isu.so"
//School list
#define URL_GET_SCHOOL_LIST [NSString stringWithFormat:@"%@%@", URL_ISUSO_WEB, @"/schools.json"]
//User
#define URL_USER_REGISTER [NSString stringWithFormat:@"%@%@", URL_ISUSO_WEB, @"/user/mobi_reg"]
#define URL_USER_LOGIN [NSString stringWithFormat:@"%@%@", URL_ISUSO_WEB, @"/user/mobi_login"]
#define URL_USER_INFO_EDIT [NSString stringWithFormat:@"%@%@", URL_ISUSO_WEB, @"/user/mobi_edit"]
#define URL_USER_PASSWORDGET [NSString stringWithFormat:@"%@%@", URL_ISUSO_WEB, @"/validate_center/reset_passwd_bym"]
#define URL_USER_GETDETAIL [NSString stringWithFormat:@"%@%@", URL_ISUSO_WEB, @"/user/mobi_getdetail"]
//info
#define URL_GET_INFO [NSString stringWithFormat:@"%@%@", URL_ISUSO_WEB, @"/info/get"]
#define URL_GET_INFO_LIST [NSString stringWithFormat:@"%@%@", URL_ISUSO_WEB, @"/info/mobi_find2"]
#define URL_PUB_INFO [NSString stringWithFormat:@"%@%@", URL_ISUSO_WEB, @"/info/mobi_add"]

#define URL_EDIT_INFO = URL_ISUSO_WEB;       //TODO: implementation later
#define URL_DELETE_INFO = URL_ISUSO_WEB;     //TODO: implementation later
//msg
#define URL_GET_MSG [NSString stringWithFormat:@"%@%@", URL_ISUSO_WEB, @"/msg/get"]
#define URL_GET_MSG_INFO [NSString stringWithFormat:@"%@%@", URL_ISUSO_WEB, @"/msg/find"]
//http://www.isu.so/info/mobi_find2?userId=e7bab1bc-635f-45a5-b186-b17d3ad6b4fd
#define URL_GET_MSG_INFO2 [NSString stringWithFormat:@"%@%@", URL_ISUSO_WEB, @"/info/mobi_find2"]
#define URL_PUB_MSG [NSString stringWithFormat:@"%@%@", URL_ISUSO_WEB, @"/msg/add"]
#define URL_EDIT_MSG = URL_ISUSO_WEB;        //TODO: implementation later
#define URL_DELETE_MSG = URL_ISUSO_WEB;      //TODO: implementation later
#define URL_GET_UNREAD_MSG [NSString stringWithFormat:@"%@%@", URL_ISUSO_WEB, @"/msg/get_unread_nums"]
#define URL_SET_MSG_READED [NSString stringWithFormat:@"%@%@", URL_ISUSO_WEB, @"/msg/set_msg_read"]
#define URL_SET_ALL_MSG_READED [NSString stringWithFormat:@"%@%@", URL_ISUSO_WEB, @"/msg/set_msg_all_read"]
//util sms, upload images,
#define URL_GET_AUTHCODE [NSString stringWithFormat:@"%@%@", URL_ISUSO_WEB, @"/sms_api/req"]
#define URL_UPLOAD_AVATAR [NSString stringWithFormat:@"%@%@", URL_ISUSO_WEB, @"/upload/img_up"]
#define URL_UPLOAD_CONTENT_IMG [NSString stringWithFormat:@"%@%@", URL_ISUSO_WEB, @"/jsp/imageUp.jsp"]
// 点赞
#define URL_ISUSO_GOOD [NSString stringWithFormat:@"%@%@", URL_ISUSO_WEB, @"/api/mobi_addInfoGood"]
// 点踩
#define URL_ISUSO_BAD [NSString stringWithFormat:@"%@%@", URL_ISUSO_WEB, @"/api/mobi_addInfoBad"]

#define URL_ISUSO_GETEMOTION [NSString stringWithFormat:@"%@%@", URL_ISUSO_WEB, @"/api/getEmotion"]
